Thread Safety By Synchronized Keyword | Sample Program To Understand | Java Interview Question